﻿@model Tecnosop.Dominio.CLIENTE
@{
    ViewBag.Title = "Borrar un cliente";
    Layout = "~/Views/Cliente/_LayoutCliente.cshtml";
}
<fieldset>
    <legend>¿Está seguro que quiere eliminar este cliente?</legend>

    <div class="display-label">@Html.LabelFor(model => model.RUT_CLIENTE)</div>
    <div class="display-field">@Html.DisplayFor(model => model.RUT_CLIENTE)</div>

    <div class="display-label">@Html.LabelFor(model => model.REGION)</div>
    <div class="display-field">@Html.DisplayFor(model => model.REGION1.REGION1)</div>

    <div class="display-label">@Html.LabelFor(model => model.NOMBRE)</div>
    <div class="display-field">@Html.DisplayFor(model => model.NOMBRE)</div>

    <div class="display-label">@Html.LabelFor(model => model.DIRECCION)</div>
    <div class="display-field">@Html.DisplayFor(model => model.DIRECCION)</div>

    <div class="display-label">@Html.LabelFor(model => model.CUIDAD)</div>
    <div class="display-field">@Html.DisplayFor(model => model.CUIDAD)</div>

    <div class="display-label">@Html.LabelFor(model => model.COMUNA)</div>
    <div class="display-field">@Html.DisplayFor(model => model.COMUNA)</div>

    <div class="display-label">@Html.LabelFor(model => model.EMAIL)</div>
    <div class="display-field">@Html.DisplayFor(model => model.EMAIL)</div>

    <div class="display-label">@Html.LabelFor(model => model.TELEFONO_1)</div>
    <div class="display-field">@Html.DisplayFor(model => model.TELEFONO_1)</div>

    <div class="display-label">@Html.LabelFor(model => model.TELEFONO_2)</div>
    <div class="display-field">@Html.DisplayFor(model => model.TELEFONO_2)</div>

    <div class="display-label">@Html.LabelFor(model => model.GIRO)</div>
    <div class="display-field">@Html.DisplayFor(model => model.GIRO)</div>
    
    <br />
    <hr />
    @using (Html.BeginForm()) {
        <p>
            <button type="submit" class="nice radius small red button">Eliminar</button>
            @Html.ActionLink("Cancelar", MVC.Cliente.VerTodos(), new { @class = "nice radius small blue button" })
        </p>
    }
</fieldset>
